* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-wrapper {
  display: flex;
  max-width: 1200px;
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-height: 600px;
}

.left-section {
  flex: 1;
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  color: white;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.left-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.logo-section {
  position: relative;
  z-index: 1;
}

.gov-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.system-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
}

.system-subtitle {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 40px;
}

.feature-list {
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.feature-item i {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  opacity: 0.8;
}

.right-section {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.login-tabs {
  margin-bottom: 30px;
}

.login-tabs .el-tabs__header {
  margin-bottom: 30px;
}

.login-tabs .el-tabs__item {
  font-size: 16px;
  font-weight: 500;
  color: #666;
}

.login-tabs .el-tabs__item.is-active {
  color: #1890ff;
}

.login-tabs .el-tabs__active-bar {
  background-color: #1890ff;
}

.el-form-item {
  margin-bottom: 24px;
}

.el-input__wrapper {
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  transition: all 0.3s;
}

.el-input__wrapper:hover,
.el-input__wrapper.is-focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.login-btn {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  border: none;
  transition: all 0.3s;
}

.login-btn:hover {
  background: linear-gradient(135deg, #096dd9 0%, #0050b3 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.form-footer {
  text-align: center;
  margin-top: 20px;
}

.el-select {
  width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
    max-width: 400px;
  }

  .left-section {
    padding: 40px 30px;
    text-align: center;
  }

  .system-title {
    font-size: 24px;
  }

  .right-section {
    padding: 40px 30px;
  }
}

/* Element Plus 主题定制 */
:root {
  --el-color-primary: #1890ff;
  --el-color-primary-light-3: rgba(24, 144, 255, 0.3);
  --el-color-primary-light-5: rgba(24, 144, 255, 0.5);
  --el-color-primary-light-7: rgba(24, 144, 255, 0.7);
  --el-color-primary-light-8: rgba(24, 144, 255, 0.8);
  --el-color-primary-light-9: rgba(24, 144, 255, 0.9);
}
